export default {
    name: 'ZxMarker',

    props: {
        mark: {
            type: [String, Object],
        },
    },
    render() {
        const label = typeof this.mark === 'string' ? this.mark : this.mark.label;

        return (
      <div class="zx-slider__marks-text" style={ this.mark.style || {} }>
        { label }
      </div>
        );
    },
};
